package com.zh.domain.dto.requirement;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "AddRequirementRequest", description = "新增需求请求参数")
public class AddRequirementRequest implements Serializable {

    @ApiModelProperty("项目id")
    private Integer proId;
    @ApiModelProperty("里程碑id")
    private Integer mileId;
    @ApiModelProperty("迭代id")
    private Integer iterId;
    @ApiModelProperty("需求负责人")
    private Integer ownerId;
    @ApiModelProperty("需求开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("需求结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("需求标题")
    private String title;
    @ApiModelProperty("需求描述")
    private String description;
    @ApiModelProperty("需求备注")
    private String remark;
    @ApiModelProperty("需求优先级0 P0, 1 P1, 2 P2")
    private Integer priority;
    @ApiModelProperty("需求类型")
    private String tag;
}
